package com.cjy.collections;

import com.google.common.collect.Maps;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Cheng JiYe
 * @description: Map工具类
 * @date 2020/5/2116:19
 */
public class MapUtils {

    /**
     * 创建一个HashMap
     *
     * @return HashMap<Object, Object>
     */
    public static HashMap<Object, Object> newHashMapObjectSunOne() {
        return new HashMap<>();
    }

    /**
     * 创建一个HashMap
     *
     * @return HashMap<String, Object>
     */
    public static HashMap<String, Object> newHashMapObjectSunTwo() {
        return new HashMap<>();
    }

    /**
     * 创建一个HashMap
     *
     * @return HashMap<String, String>
     */
    public static HashMap<String, String> newHashMapStringSunThree() {
        return new HashMap<>();
    }


    /**
     * 创建一个HashMap
     *
     * @return Map<Object, Object>
     */
    public static Map<Object, Object> newHashMapObjectFatherOne() {
        return new HashMap<>();
    }


    /**
     * 创建一个HashMap
     *
     * @return Map<String, Object>
     */
    public static Map<String, Object> newHashMapStringFatherTwo() {
        return new HashMap<>();
    }

    /**
     * 创建一个HashMap
     *
     * @return Map<String, String>
     */

    public static Map<String, String> newHashMapStringFatherThree() {
        return new HashMap<>();
    }


    public void test() {
        HashMap<Object, Object> objectObjectHashMap = Maps.newHashMap();

    }
}
